package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ProductStatistics implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 商品id
     *
     * @mbg.generated
     */
    private Integer productId;

    /**
     * 商品名称
     *
     * @mbg.generated
     */
    private String productName;

    /**
     * 一级分类
     *
     * @mbg.generated
     */
    private Integer topCategory;

    /**
     * 商品日pv
     *
     * @mbg.generated
     */
    private Integer productPv;

    /**
     * 商品日uv
     *
     * @mbg.generated
     */
    private Integer productUv;

    /**
     * 订单数
     *
     * @mbg.generated
     */
    private Integer orderNum;

    /**
     * 实际订单数
     *
     * @mbg.generated
     */
    private Integer realOrderNum;

    /**
     * 支付订单数
     *
     * @mbg.generated
     */
    private Integer payOrderNum;

    /**
     * 订单率（订单数/pv）
     *
     * @mbg.generated
     */
    private BigDecimal orderRate;

    /**
     * 支付率（支付订单/pv）
     *
     * @mbg.generated
     */
    private BigDecimal payOrderRatio;

    /**
     * 统计的天数
     *
     * @mbg.generated
     */
    private Date statisticsTime;

    /**
     * 商品状态
     *
     * @mbg.generated
     */
    private Integer status;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getTopCategory() {
        return topCategory;
    }

    public void setTopCategory(Integer topCategory) {
        this.topCategory = topCategory;
    }

    public Integer getProductPv() {
        return productPv;
    }

    public void setProductPv(Integer productPv) {
        this.productPv = productPv;
    }

    public Integer getProductUv() {
        return productUv;
    }

    public void setProductUv(Integer productUv) {
        this.productUv = productUv;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getRealOrderNum() {
        return realOrderNum;
    }

    public void setRealOrderNum(Integer realOrderNum) {
        this.realOrderNum = realOrderNum;
    }

    public Integer getPayOrderNum() {
        return payOrderNum;
    }

    public void setPayOrderNum(Integer payOrderNum) {
        this.payOrderNum = payOrderNum;
    }

    public BigDecimal getOrderRate() {
        return orderRate;
    }

    public void setOrderRate(BigDecimal orderRate) {
        this.orderRate = orderRate;
    }

    public BigDecimal getPayOrderRatio() {
        return payOrderRatio;
    }

    public void setPayOrderRatio(BigDecimal payOrderRatio) {
        this.payOrderRatio = payOrderRatio;
    }

    public Date getStatisticsTime() {
        return statisticsTime;
    }

    public void setStatisticsTime(Date statisticsTime) {
        this.statisticsTime = statisticsTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", productId=").append(productId);
        sb.append(", productName=").append(productName);
        sb.append(", topCategory=").append(topCategory);
        sb.append(", productPv=").append(productPv);
        sb.append(", productUv=").append(productUv);
        sb.append(", orderNum=").append(orderNum);
        sb.append(", realOrderNum=").append(realOrderNum);
        sb.append(", payOrderNum=").append(payOrderNum);
        sb.append(", orderRate=").append(orderRate);
        sb.append(", payOrderRatio=").append(payOrderRatio);
        sb.append(", statisticsTime=").append(statisticsTime);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}